/*
 */
package org.vectrics.project.task;

import org.vectrics.common.db.Voidable;
import org.vectrics.time.TimePeriod;


/**
 * @author mmoore
 */
public class TaskRelationship implements Voidable {
    private Task fromTask = null;
    private Task toTask = null;
    private TaskRelationshipType relationshipType = null;
    private TimePeriod timePeriod = new TimePeriod();
    private boolean voided = false;
    
    /**
     * @return Returns the fromTask.
     */
    public Task getFromTask() {
        return fromTask;
    }
    /**
     * @param fromTask The fromTask to set.
     */
    public void setFromTask(Task fromTask) {
        this.fromTask = fromTask;
    }
    /**
     * @return Returns the relationshipType.
     */
    public TaskRelationshipType getRelationshipType() {
        return relationshipType;
    }
    /**
     * @param relationshipType The relationshipType to set.
     */
    public void setRelationshipType(TaskRelationshipType relationshipType) {
        this.relationshipType = relationshipType;
    }
    /**
     * @return Returns the timePeriod.
     */
    public TimePeriod getTimePeriod() {
        return timePeriod;
    }
    /**
     * @param timePeriod The timePeriod to set.
     */
    public void setTimePeriod(TimePeriod timePeriod) {
        this.timePeriod = timePeriod;
    }
    /**
     * @return Returns the toTask.
     */
    public Task getToTask() {
        return toTask;
    }
    /**
     * @param toTask The toTask to set.
     */
    public void setToTask(Task toTask) {
        this.toTask = toTask;
    }
    
    /**
     * @return Returns the voided.
     */
    public boolean getVoided() {
        return voided;
    }
    /**
     * @param voided The voided to set.
     */
    public void setVoided(boolean voided) {
        this.voided = voided;
    }
}
